import request from '@/utils/request'

// 手机号
export const getAuthorizations = ({ mobile, code }) => {
  return request({
    url: '/v1_0/authorizations',
    method: 'POST',
    data: {
      mobile,
      code
    }

  })
}
// 获取首页数据
export const getArticles = () => {
  return request({
    url: '/v1_0/articles',
    method: 'get',
    params: {
      channel_id: 0,
      timestamp: 1654835148606
    }

  })
}
